-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metropolis Hastings with All or Nothing for Likelihood #54
base: metro_hastings
Are you sure you want to change the base?
Conversation
- Remove `test_meaning_subset` - Remove custom constructor for `Meaning` - Fix issue with custom constructor for `Grammar`
Fix Unit Tests
changed line 173 in __str__ method in src/semantics.py
information bottleneck
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome; great work, Jingnong!
I left a few focused / detail-oriented comments in the code. One high-level thing I'd like to discuss is: should we make mh_sample
more modular / separated out? One thing I can imagine: grammar
becomes a folder/package, and then we have a module for inference
that defines the algorithms (mainly MH for now).
Similarly: I wonder whether the sampling step and the acceptance step should be factored out and passed in as arguments, instead of "hard-coded" in the same mega-method. What do you think?
36afd2d
to
1005e4c
Compare
No description provided.